{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "da57f847",
   "metadata": {},
   "source": [
    " ## input函数"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "064c9d3a",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "请输入你的名称:杜源霖\n",
      "请输入你的年龄:19\n",
      "请输入你的学校名称:中大南方\n",
      "请输入你的专业名称:网络与新媒体\n",
      "请输入你的学号:2010130138\n",
      "请输入你的最好的朋友的名称:杜杰\n",
      "我叫杜源霖,我今年19岁了,\n",
      "我在中大南方读专业,\n",
      "我的学号是2010130138\n",
      "我的好朋友是杜杰\n",
      "恭喜你，通过自己编写的python程序exe认识自己啦啦啦\n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "''"
      ]
     },
     "execution_count": 1,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "name1 = input(\"请输入你的名称:\")\n",
    "age = input(\"请输入你的年龄:\")\n",
    "sname = input(\"请输入你的学校名称:\")\n",
    "mname = input(\"请输入你的专业名称:\")\n",
    "sno = input(\"请输入你的学号:\")\n",
    "name2 = input(\"请输入你的最好的朋友的名称:\")\n",
    "temp = \"我叫\" + name1 + \",我今年\" + age + \"岁了,\\n我在\" + sname + \"读\" + \"专业,\\n我的学号是\" + sno + \"\\n我的好朋友是\" + name2\n",
    "print(temp)\n",
    "input(\"恭喜你，通过自己编写的python程序exe认识自己啦啦啦\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "c44d183e",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.12"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
